package edu.sctu.practice.class01.wujiayi.assing03.practice01;

/**
 * Created by acer1 on 2015/10/22.
 */
public class Main {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.r = (float) 5.6;
        circle.findPerimeter();
        circle.findArea();


        Rectangle rectangle = new Rectangle();
        rectangle.width = (float) 5.6;
        rectangle.lengh = (float) 6.5;
        rectangle.findArea();
        rectangle.findPerimeter();


        ObjectHlep.equalArea(circle,rectangle);
        ObjectHlep.displayGeometricObject(circle);
        ObjectHlep.displayGeometricObject(rectangle);

    }


}
